Don't use gammaln on complex input
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 2 Mar 2019 14:59:35 +0000 (14:59 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 2 Mar 2019 14:59:35 +0000 (14:59 +0000)
commit85f459ff65cd35b43b0d4161e57462539530c354
tree662eda410fac54d919249e8d3ab7daae184902e8
parent0674b7fed4d44591570d2dab3a64a1f768890edb
Don't use gammaln on complex input

In scipy >= 1.0, it rejects such input with
TypeError: ufunc 'gammaln' not supported for the input types, and the
inputs could not be safely coerced to any supported types according
to the casting rule ''safe''

Author: Kevin "bashtage" Sheppard, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: upstream https://github.com/statsmodels/statsmodels/pull/3964/commits/c11c6242ff81a0f83d3e7fd83a8105397d3cbc1d
Forwarded: not-needed

Gbp-Pq: Name gammaln_complex.patch
statsmodels/discrete/discrete_model.py